﻿@layout MainLayout
@page "/user"
@inherits LayoutComponentBase
<div class="container">
    <BLayout @ref="bLayout" EnableAlwaysRender="true">
        <West>
            <div style="height:600px;">
                <BCard Shadow="@ShadowShowType.Never" EnableAlwaysRender="true" @ref="bCard">
                    <Body>
                        <div class="app-user-menu">
                            <BMenu Mode="@MenuMode.Vertical" DefaultActive="0" @ref="bmenu" EnableAlwaysRender="true" ActiveTextColor="" HoverColor="">
                                @if (personalCenterMenuModels != null)
                                    @foreach (var menu in personalCenterMenuModels)
                                    {
                                        <BMenuItem Icon="@menu.Icon" Index="@menu.Index.ToString()" Route="@menu.Route" EnableAlwaysRender="true">
                                            @menu.Title
                                        </BMenuItem>
                                    }
                            </BMenu>
                        </div>
                    </Body>
                </BCard>
            </div>
        </West>
        <Center>
            @Body
        </Center>
    </BLayout>
</div>